<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>人工下单</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <link rel="shortcut icon" href="image/favicon.png">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="./css/light7.min.css">
    <link rel="stylesheet" href="css/cxvalidation.css">
    <link rel="stylesheet" href="css/public.css?v=201812103">
    <link rel="stylesheet" href="css/order-list.css?v=201812103">
    <link rel="stylesheet" href="css/customer-import.css?v=201812103">
</head>
<body>
<div class="page-group">
    <div class="page page-current">
        <header class="bar bar-nav">
            <a class="button button-link button-nav pull-left back external" href="javascript:redirect('import.html?ref=1')">
                返回
            </a>
            <h1 class='title'>人工下单</h1>
        </header>
        <div class="content">
            <div class="content-block">
                <form action="" id="form1">
                    <!--<div class="bucket-box">-->
                    <div  id="content-block" style=" border-bottom: 0.3rem solid #EFEFF4;"> </div>

                    <div class="bucket-content">
                        <span>商品名称：</span>
                        <input type="text" class='picker'  style="border:1px silver solid;border-radius:0.3rem"
                               id="waterbill_id_value" placeholder="请选择商品"
                               data-validation="required" data-validation-message="请选择商品"/>
                        <input type="hidden" name="goods_id" id="goods_id" value="0">
                        <!--<img class="bucket-img" src="image/jiao.png" alt="">-->
                    </div>
                    <div class="bucket-content">
                        <span>商品数量：</span>
                        <input type="text" name="goods_num"   id="nums"
                               style="border: 1px silver solid;border-radius: 0.3rem;"
                               data-validation="required,integer,min[1]" placeholder="请输入商品数量"
                               data-validation-message='{"required":"请填写商品数量","integer":"商品数量必须是数字","min":"商品数量不能小于1"}'/>
                    </div>
                    <div class="bucket-content">
                       <div>
                            <span>订单金额：</span>
                            <input type="text" name="money"   id="nums1"
                                   style="border:1px silver solid;border-radius:0.3rem;"
                                   placeholder="请输入订单金额"
                                   data-validation="required,integer,min[0]"
                                   data-validation-message='{"required":"请填写订单金额","integer":"订单金额必须是数字","min":"订单金额不能小于0"}'/>
                      </div>
                    </div>
                    <div class="position-bottom">
                        <div class="to_bottom">
                            <input type="hidden" name="create_order_by_self" value="1">
                            <input class="button button-fill next-button external"  type="submit" value="确认下单">
                        </div>
                    </div>
                    <!--</div>-->
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="bill_data">
    <div class="bucket-content">
       <div>
            <span>客户名称：</span>
            <input type="text" style="text-indent:0;"  name="buyer_name" value="{{member_info.name}}" />

      </div>

       <div>
            <span>客户电话：</span>
            <input type="text" name="mobile" style="text-indent:0;font-size: 0.9rem;" value="{{member_info.mobile}}" />
      </div>

        {{if  member_info.address != null }}
        <div style="display: flex;flex: 2;margin-top: 0.5rem;min-height:1.5rem; ">
            <span style="width:25%;display: inline-block ;line-height:1.5rem; " >客户地址：</span>
        <textarea class="address_textarea" name="buyer_address" >{{member_info.address.area_info}} {{member_info.address.address}}</textarea>
        </div>
        {{/if}}

        {{if member_info.address == null}}
        <div style="display: flex;flex: 2;margin-top: 0.5rem;min-height:1.5rem; ">
            <span style="width:25%;display: inline-block ;line-height:1.5rem; " >客户地址：</span>
            <textarea class="address_textarea" name="buyer_address" >{{member_info.area_info}} {{member_info.address}}</textarea>
        </div>
        {{/if}}

        {{if member_info.company_name }}
       <div>
            <span>单位名称：</span>
            <input type="text" name="company_name" style="font-size: 0.7rem;text-indent:0;"  value="{{member_info.company_name}}" />
      </div>
        {{/if}}
       <div>
            <span>备注说明：</span>
            <input type="text" name="description" style="text-indent:0;" placeholder="若有特殊要求可在这里备注" value="{{member_info.description}}" />
      </div>
    </div>


</script>
<script src="./js/jquery-3.2.1.min.js"></script>
<script src='./js/light7.js'></script>
<script src="./js/art-template.js"></script>
<script src="./js/cxvalidation.js"></script>
<script src="./js/config.js?v=201812103"></script>
<script src="./js/commen.js?v=201812103"></script>
<script src="./js/create-order.js?v=201812103"></script>
</body>
</html>
